<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top" class="main_heading"><?=$this->pageHeading?></td>
</tr>
<tr>
<td align="left" valign="top">&nbsp;</td>
</tr>
<tr>
<td align="center" valign="middle"><form name="myform" id="myform" action="<?php echo $this->url(array('controller'=>'subscription', 'action'=>'updateplan','planId'=>$this->planId), 'default', true)?>" method="post" enctype="multipart/form-data"><table width="100%" cellpadding="5" cellspacing="5" border='0'>
<tr>
<td width="27%" align="left" valign="top">Plan Name :</td>
<td width="73%" align="left" valign="middle"><?=$this->myform->plan_name?></td>
</tr>
<tr>
<td align="left" valign="top">Plan Icon:</td>
<td align="left" valign="middle"><?=$this->myform->plan_image?>
<?
if($this->planImage!="" and file_exists(SITE_ROOT.'admin/images/planimg/'.$this->planImage))
{
?>
<div style="clear:both;"><a href="<?=APPLICATION_URL_ADMIN?>download.php?download_file=<?='images/planimg/'.$this->planImage?>">View/Download Image</a></div></td>
<?
}
?>
</tr>
<tr>
<td align="left" valign="top">No of Images :</td>
<td align="left" valign="middle"><?=$this->myform->nof_images?></td>
</tr>
<tr>
<td align="left" valign="top">Free :</td>
<td align="left" valign="middle"><?=$this->myform->Isfree?></td>
</tr>
<tr>
<td align="left" valign="top">Plan Price :</td>
<td align="left" valign="middle"><?=$this->myform->plan_price?></td>
</tr>
<tr>
<td align="left" valign="top">Plan Validity :</td>
<td align="left" valign="middle"><?=$this->myform->plan_validity?></td>
</tr>
<tr>
<td align="left" valign="top">Use for Description :</td>
<td align="left" valign="middle"><?=$this->myform->des_box?></td>
</tr>
<tr>
<td align="left" valign="top">Listed on Featured Business :</td>
<td align="left" valign="middle"><?=$this->myform->featured_business?></td>
</tr>
<tr>
<td align="left" valign="top">Offer Coupons :</td>
<td align="left" valign="middle"><?=$this->myform->offer_coupons?></td>
</tr>
<tr>
<td align="left" valign="top">&nbsp;</td>
<td align="left" valign="top"><input type="submit" name="Update" id="Update" value="Update" class="myButton" /></td>
</tr>
</table></form></td>
</tr>
</table>
<script language="javascript">
function SetFreeorPaid()
{
	if(document.getElementById('Isfree').checked==true)
	{
		document.getElementById('plan_price').disabled=true;
		document.getElementById('plan_validity').disabled=true;
	}
	else
	{
		document.getElementById('plan_price').disabled=false;
		document.getElementById('plan_validity').disabled=false;
	}
}
SetFreeorPaid();
</script>